<?php
class Form_Hotel extends Zend_Form
{
    public function __construct($options=array())
    {
		parent::__construct($options);
		if(!empty($options))
		{
    		if($options['action'] == "edit")
    		{ 
        	   	$this->setDecorators( array( array('ViewScript', array('script' => 'edit.phtml'))));
    		} else {
    			$this->setDecorators( array( array('ViewScript', array('script' => 'add.phtml'))));
    		}
		}    	
    }   
}
